#include <iostream>
#include "Time.hpp"
int main() {
    using std::cout;
    using std::endl;
    Time weeding(4,35);
    Time waxing(2,47);
    Time total;
    Time diff;
    Time adjusted;
    cout<<"weeding time = ";
    weeding.show();

    cout<<"waxinf time = ";
    waxing.show();

    cout<<"total work time = ";
    total = weeding+waxing;
    total.show();

    diff = weeding - waxing;
    cout<<"weeding time - waxing time = ";
    diff.show();

    adjusted = total*1.5;
    //adjusted = 1.5*total;不能这样使用
    cout<<"adjust work time ";
    adjusted.show();
    return 0;
}